import { ApiProperty } from '@nestjs/swagger';
import { IsEmail, IsString } from 'class-validator';

export class ForgotPasswordDto {
  @ApiProperty({ description: '用户邮箱' })
  @IsEmail({}, { message: '请提供有效的邮箱地址' })
  email: string;
} 